import {SettingsModule} from "@/core/store/modules/settings";

export const openLoading = (loadingText: any = "Loading...") => {
    SettingsModule.change({key: "loadingText", value: loadingText});
    SettingsModule.change({key: "loading", value: true});
};

export const closeLoading = () => {
    SettingsModule.change({key: "loading", value: false})
};
